<div>
    <h3>基础用法</h3>
    <p>当前日期：{{myDate | date }}</p>
    <p>指定格式：{{myDate | date:"yyyy-MM-dd" }}</p>
</div>
<hr/>
<div>
    <h3>内置管道</h3>
    <p>当前日期：{{currDate | async | date:"yyyy-MM-dd HH:mm:ss" }}</p>
</div>